(C) 1996 AROS - The Amiga Replacement OS


NAME
LONG IEEESPTanh()
SYNOPSIS

LONG y

LOCATION
In MathIeeeSingTransBase at offset 12
FUNCTION
Calculate hyperbolic tangens of the IEEE single precision number

INPUTS
y
IEEE single precision floating point number
RESULT
IEEE single precision floating point number

flags: zero : result is zero negative : result is negative overflow : (not possible)

NOTES
EXAMPLE
BUGS
SEE ALSO
INTERNALS
( e^x - e^(-x) ) tanh(x) = ---------------- ( e^x + e^(-x) )

tanh( |x| >= 9 ) = 1

HISTORY
25.07.1997 bergers
Initial Revision - Some more math stuff!